package com.andybest.search.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.andybest.search.timer.MoniterTask;

public class TaskListener implements ServletContextListener {
    

    public void contextDestroyed(ServletContextEvent servletcontextevent) {}

    public void contextInitialized(ServletContextEvent servletcontextevent) {
    	new MoniterTask().start();
    }

}
